package org.lboot.flow.module.event.params;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.lboot.core.domain.PageParamDTO;

import javax.persistence.Column;

/**
 * @author kindear
 * 自定义事件查询参数
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "自定义事件查询参数")
public class FlowCustomEventQueryParams extends PageParamDTO {
    // * 为全部流程定义
//    @ApiModelProperty(value = "关联流程定义ID")
//    String bindFlowId;

    // * 为全部流程节点
//    @ApiModelProperty(value = "关联流程节点ID")
//    String bindNodeId;

    @ApiModelProperty(value = "事件优先级")
    Integer priority;

    @ApiModelProperty(value = "是否异步")
    Boolean isAsync;

    // 0 为关闭 1 为开启
    @ApiModelProperty(value = "事件开启状态")
    Integer status;
}
